# 新增表单功能

from django import forms
from .models import Comment


class CommentForm(forms.ModelForm):
   class Meta:
       model = Comment
       fields = ['name','email','url','text']
